#ifndef TRANSFER_H
#define TRANSFER_H

#include <QByteArray>
#include <QVector>

class Transfer {
public:
    virtual ~Transfer() = default;

    virtual size_t send(const QString& topic, const QByteArray& data) = 0;
    virtual QByteArray recive(const QString& topic, int size) = 0;
};

#endif // TRANSFER_H
